<?php

class User extends AppModel {
	var $actsAs = array('Containable');
	var $name = 'User';
	var $validate = array(
		'password' => array(
			'rule' => array('minLength', '8'),
			'message' => 'Mimimum 8 characters long'),
		'username' =>array(
			'rule' => 'isUnique',
			'message' => 'That username is already in use.',
			'last' => 'true'),
	);
	
}

?>